home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
WORDMISC
/
WRITTOOL.LZH
/
FREQ.DOC
< prev
next >
Wrap
Text File
|
1986-12-18
|
770b
|
25 lines
-------------------------------------------------------------------------------
FREQ
-------------------------------------------------------------------------------
Summary:
freq [< filename]
FREQ is a text filter that takes a sorted list of words from the standard
input and outputs a list of the unique words in the input and the frequency of
their occurrence.
Examples:
Make a list of the unique words in the file named original and print that list
on the printer.
freq <original >prn
Place all of the words in the file named textfile on individual lines, sort
those lines, make a list of how many times the words occurred, and save that
list as the file named wordlist.
words < textfile | sort | freq > wordlist